<template>
  <div class="app">
    <van-tabbar route>
      <van-tabbar-item to="/">
      <svg-icon icon-class="calender"/>
      </van-tabbar-item>
      <van-tabbar-item to="/list">
      <svg-icon icon-class="todo"/>
      </van-tabbar-item>
      <van-tabbar-item to="/action"><svg-icon icon-class="call"/></van-tabbar-item>
      <van-tabbar-item to="/setting">
        <svg-icon icon-class="setting"/>
      </van-tabbar-item>
    </van-tabbar>
    <add-item></add-item>
    <router-view/>
  </div>
</template>
<script>
export default {
  methods: {

  }
}
</script>

<style lang="less">
  .app{
    position: absolute;
    top:0;
    left:0;
    bottom: 0;
    right: 0;
    padding: 0 5px;
  }

</style>
